package com.situ.day5.homework;

import org.junit.Test;

public class Demo {
	@Test
	public void test1() {
		Vehicle vehicle = new Vehicle();
		// Vehicle vehicle = new Vehicle(100, 10);
		vehicle.setSize(10);
		vehicle.setSpeed(100);
		System.out.println(vehicle.getSpeed());
		vehicle.speedUp(10);
		System.out.println(vehicle.getSpeed());
	}
	
	@Test
	public void test2() {
		Number number = new Number(3, 6);
		int result = number.add();
		System.out.println(result);
	}
}
